home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Software of the Month Club
/
Amiga General Interest Volume 215 (1995)(SOMC)(Disk 2 of y)[SMCxxxC30Ix].zip
/
Amiga General Interest Volume 215 (1995)(SOMC)(Disk 2 of y)[SMCxxxC30Ix].adf
/
Install
< prev
next >
Wrap
Text File
|
1995-09-05
|
9KB
|
403 lines
(message
"\nWelcome to the\nHTML-Heaven Installer Utility\n\n"
"This program will install the HTML-Heaven\n"
"suite release 1.2 on your Amiga.\n"
"\n"
"Please read the AmigaGuide document or the\n"
"HTML documents for more information on how\n"
"to use the HTML-Heaven suite.\n"
"\n"
"The HTML-Heaven package is\n"
"© 1994, 95 by Paul Kolenbrander\n"
"All Rights Reserved!\n"
)
(welcome)
;
; checking the AmigaOS version. We need at least 37.xx
;
(transcript "Checking your OS version...")
(if
(<
(/
(getversion)
65536
)
37
)
(
(transcript "Aborting Install as AmigaOS Release 2.04 (or higher) is not available.")
(abort "\nHTML-Heaven requires at least AmigaOS Release 2.04 to run.\n\n"
"Press the Proceed button to abort the installation procedure.")
)
(transcript "AmigaOS version 2.04 (or higher) found. Proceeding.")
)
(complete 0)
;
; Now ask where to install the HTML-Heaven drawer
;
(set HTML-Heaven-dest
(tackon
(askdir
(prompt "Where should the HTML-Heaven drawer be installed?")
(help @askdir-help)
(default @default-dest)
)
"HTML-Heaven"
)
)
(set @default-dest HTML-Heaven-dest)
(complete 10)
;
; And copy all the file we need to the destination directory
;
(copyfiles
(source "")
(dest HTML-Heaven-dest)
(pattern "#?")
(infos)
)
(complete 40)
;
; Set the date of all the copied files so the user gets a clean list and knows
; when he/she installed the package. [I know, I'm nitpicking. :-)]
;
(set mydestin (tackon HTML-Heaven-Dest "#?"))
(run "setdate" mydestin)
(complete 50)
(copyfiles
(source "Arexx")
(dest ( tackon HTML-Heaven-dest "ARexx" ) )
(pattern "#?")
(infos)
)
(complete 60)
;
; Set the date of all the copied files so the user gets a clean list and knows
; when he/she installed the package. [I know, I'm nitpicking. :-)]
;
(set mydestin (tackon HTML-Heaven-Dest "Arexx/#?"))
(run "setdate" mydestin)
(complete 70)
;
; Now ask which editor script should be copied to S:
;
(set editor-options
(select
(set editor-choice
(askchoice
(prompt "Which editor script do you wish to install?\n"
(choices "AME (part of DICE)"
"Annotate 2.0 or higher"
"Amiga Ed (standard editor)"
"CygnusEd 3.5Pro or higher"
"EdWord"
"EdWord 5.0"
"FrexxEd"
"GoldEd 1.0 or higher"
"GNU Emacs"
"PolyEd"
"SAS's SE"
"SkoEd"
"TurboText"
"Textra 1.0 or higher"
)
(default 0)
(help "Editor script description:\n"
"AME: Sets up HTML-Heaven to work with the DICE AME "
"editor.\n"
"\n"
"Annotate: Sets up HTML-Heaven to work with the Annotate "
"v2.0 editor.\n"
"\n"
"Amiga Ed: Sets up HTML-Heaven to work with the Amiga ED "
"editor. Note, Limited support due to Ed's behavior.\n"
"\n"
"CygnusEd: Sets up HTML-Heaven to work with the CygnusEd "
"editor.\n"
"EdWord: Sets up HTML-Heaven to work with the shareware "
"EdWord editor.\n"
"\n"
"EdWord5.0: Sets up HTML-Heaven to work with the shareware "
"EdWord 5.0 editor.\n"
"\n"
"FrexxEd: Sets up HTML-Heaven to work with the shareware "
"FrexxEd editor.\n"
"\n"
"GoldEd: Sets up HTML-Heaven to work with the shareware "
"GoldEd 1.0 or higher editor.\n"
"\n"
"MEmacs: Sets up HTML-Heaven to work with the MEmacs editor "
"that is available on most AmiNet sites.\n"
"\n"
"PolyEd: Sets up HTML-Heaven to work with the shareware "
"PolyEd editor found on eg. AmiNet.\n"
"\n"
"SE: Sets up HTML-Heaven to work with the SE editor that "
"comes with the SAS C compiler.\n"
"\n"
"SkoEd: Sets up HTML-Heaven to work with the shareware editor"
"SkoEd.\n"
"\n"
"TTX: Sets up HTML-Heaven to work with the TurboText "
"editor. An excellent script created by Cletus Baker.\n"
"\n"
"Textra: Sets up HTML-Heaven to work with the Textra "
"editor.\n"
"\n"
@askoptions-help)
)
)
)
(shiftleft 1 0) ; AME
(shiftleft 1 1) ; Annotate
(shiftleft 1 2) ; Amiga Ed
(shiftleft 1 3) ; CygnusEd
(shiftleft 1 4) ; EdWord
(shiftleft 1 5) ; EdWord 5.0
(shiftleft 1 6) ; FrexxEd
(shiftleft 1 7) ; GoldEd
(shiftleft 1 8) ; MEmacs
(shiftleft 1 9) ; PolyEd
(shiftleft 1 10) ; SE
(shiftleft 1 11) ; SkoEd
(shiftleft 1 12) ; TTX
(shiftleft 1 13) ; Textra
)
)
(complete 80)
;
; Copy selected editor script
;
(if
(IN editor-options 0)
(
(copyfiles
(prompt "Installing the AME script...")
(source ( tackon HTML-Heaven-dest "ARexx/HTML-AME.rexx" ) )
(dest "S:")
(newname "HTML.rexx")
(infos)
(help @copyfiles-help)
)
)
)
(complete 85)
(if
(IN editor-options 1)
(
(copyfiles
(prompt "Installing the Annotate script...")
(source ( tackon HTML-Heaven-dest "ARexx/HTML-Annotate.rexx" ) )
(dest "S:")
(newname "HTML.rexx")
(infos)
(help @copyfiles-help)
)
)
)
(complete 86)
(if
(IN editor-options 2)
(
(copyfiles
(prompt "Installing the AmigaEd script...")
(source ( tackon HTMl-Heaven-dest "ARexx/HTML-Ed.rexx" ) )
(dest "S:")
(newname "HTML.rexx")
(infos)
(help @copyfiles-help)
)
)
)
(complete 87)
(if
(IN editor-options 3)
(
(copyfiles
(prompt "Installing the CygnusEd script...")
(source ( tackon HTML-Heaven-dest "ARexx/HTML-CEd.rexx" ) )
(dest "S:")
(newname "HTML.rexx")
(infos)
(help @copyfiles-help)
)
)
)
(complete 88)
(if
(IN editor-options 4)
(
(copyfiles
(prompt "Installing the EdWord script...")
(source ( tackon HTML-Heaven-dest "ARexx/HTML-EdWord.rexx" ) )
(dest "S:")
(newname "HTML.rexx")
(infos)
(help @copyfiles-help)
)
)
)
(complete 89)
(if
(IN editor-options 5)
(
(copyfiles
(prompt "Installing the EdWord 5.0script...")
(source ( tackon HTML-Heaven-dest "ARexx/HTML-EdWord5.rexx" ) )
(dest "S:")
(newname "HTML.rexx")
(infos)
(help @copyfiles-help)
)
)
)
(complete 90)
(if
(IN editor-options 6)
(
(copyfiles
(prompt "Installing the FrexxEd script...")
(source ( tackon HTML-Heaven-dest "ARexx/HTML-FrexxEd.rexx" ) )
(dest "S:")
(newname "HTML.rexx")
(infos)
(help @copyfiles-help)
)
)
)
(complete 91)
(if
(IN editor-options 7)
(
(copyfiles
(prompt "Installing the GoldEd script...")
(source ( tackon HTML-Heaven-dest "ARexx/HTML-GoldEd.rexx" ) )
(dest "S:")
(newname "HTML.rexx")
(infos)
(help @copyfiles-help)
)
)
)
(complete 92)
(if
(IN editor-options 8)
(
(copyfiles
(prompt "Installing the GNU Emacs script...")
(source ( tackon HTML-Heaven-dest "ARexx/HTML-MEmacs.rexx" ) )
(dest "S:")
(newname "HTML.rexx")
(infos)
(help @copyfiles-help)
)
)
)
(complete 93)
(if
(IN editor-options 9)
(
(copyfiles
(prompt "Installing the PolyEd script...")
(source ( tackon HTML-Heaven-dest "ARexx/HTML-PolyEd.rexx" ) )
(dest "S:")
(newname "HTML.rexx")
(infos)
(help @copyfiles-help)
)
)
)
(complete 94)
(if
(IN editor-options 10)
(
(copyfiles
(prompt "Installing the SE script...")
(source ( tackon HTML-Heaven-dest "ARexx/HTML-SE.rexx" ) )
(dest "S:")
(newname "HTML.rexx")
(infos)
(help @copyfiles-help)
)
)
)
(complete 95)
(if
(IN editor-options 11)
(
(copyfiles
(prompt "Installing the SkoEd script...")
(source ( tackon HTML-Heaven-dest "ARexx/HTML-SkoEd.rexx" ) )
(dest "S:")
(newname "HTML.rexx")
(infos)
(help @copyfiles-help)
)
)
)
(complete 96)
(if
(IN editor-options 12)
(
(copyfiles
(prompt "Installing the TurboTeXt script...")
(source ( tackon HTML-Heaven-dest "ARexx/HTML-TTX.rexx" ) )
(dest "S:")
(newname "HTML.rexx")
(infos)
(help @copyfiles-help)
)
)
)
(complete 97)
(if
(IN editor-options 13)
(
(copyfiles
(prompt "Installing the Textra script...")
(source ( tackon HTML-Heaven-dest "ARexx/HTML-Textra.rexx" ) )
(dest "S:")
(newname "HTML.rexx")
(infos)
(help @copyfiles-help)
)
)
)
(complete 98)
(run "setdate S:HTML.rexx")
(complete 100)
(exit "Version 1.2 of HTML-Heaven has been installed..\n"
"\n"
"The HTML-Heaven package is\n"
"© 1994,95 by Paul Kolenbrander\n"
"All Rights Reserved!\n\n"
"Please consider registering\n"
"this fine software package.\n"
)